package de.Niklas.Laser.util.ConfigUtil;

import org.bukkit.inventory.ItemStack;

public class DoubleConfigSetting extends ConfigSetting {
    public double value;

    public DoubleConfigSetting(final double val, final ItemStack GUIStack) {
        super(GUIStack);
        this.value = val;
    }

    @Override
    public void setValue(final Object val) {
        this.value = (double) val;
    }

    @Override
    public Object getValue() {
        return this.value;
    }
}
